package com.example.springbootdemo.enums;

public enum LoginType {

    /**
     * 密码登录
     */
    PASSWORD("password"),

    /**
     * 第三方无需密码登录
     */
    NOPASSWD("nopassword");

    private String code;

    private LoginType(String code) {
        this.code = code;
    }

    public String getCode() {
        return code;
    }
}
